﻿
namespace sharpxbot.Core.Security.Traffic
{
    public interface ITrafficRegistry
    {
        TrafficLimitExceededEventHandler OnLimitExceeded { get; set; }

        /// <summary>
        /// In bytes
        /// </summary>
        int TrafficLimit { get; }

        void NotifyIncoming(int bytesCount);

        void NotifyOutgoing(int bytesCount);
    }


}
